package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreBoard;
import com.fujitsu.nanjing.tieba.ibator.CoreBoardCriteria;
import com.fujitsu.nanjing.tieba.ibator.CoreBoardWithBLOBs;
import java.util.List;

public interface CoreBoardDAO {
    int countByExample(CoreBoardCriteria example);

    int deleteByExample(CoreBoardCriteria example);

    int deleteByPrimaryKey(Integer boardid);

    void insert(CoreBoardWithBLOBs record);

    void insertSelective(CoreBoardWithBLOBs record);

    List<CoreBoardWithBLOBs> selectByExampleWithBLOBs(CoreBoardCriteria example);

    List<CoreBoard> selectByExampleWithoutBLOBs(CoreBoardCriteria example);

    CoreBoardWithBLOBs selectByPrimaryKey(Integer boardid);

    int updateByExampleSelective(CoreBoardWithBLOBs record, CoreBoardCriteria example);

    int updateByExample(CoreBoardWithBLOBs record, CoreBoardCriteria example);

    int updateByExample(CoreBoard record, CoreBoardCriteria example);

    int updateByPrimaryKeySelective(CoreBoardWithBLOBs record);

    int updateByPrimaryKey(CoreBoardWithBLOBs record);

    int updateByPrimaryKey(CoreBoard record);
}